<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改密码</title>
    <style>
        span {
            color: red;
        }
    </style>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    <p>旧密码: <input type="password" name="old_password"><span>{{ error_msg.old_password }}</span></p>
    <p>新密码: <input type="password" name="new_password"></p>
    <p>确认密码: <input type="password" name="confirm_password"><span>{{ error_msg.confirm_password }}</span></p>
    <input type="submit">
</form>
</body>
</html>
